home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.unix.aix,comp.lang.perl
- From: chip@tct.com (Chip Salzenberg)
- Subject: Security Hole in Perl for RS/6000
- Message-ID: <2A05E31B.7DB5@tct.com>
- Date: Tue, 5 May 1992 01:21:31 GMT
- Organization: TC Telemanagement, Clearwater, FL
-
- Bad News: The default Perl configuration for the RS/6000 notices that
- the setr[ug]id(), sete[ug]id() and setre[ug]id() functions are
- present, so it attempts to use them. However, the AIX functions don't
- work as Perl expects. So they should be disabled by hand editing of
- the "config.sh" script or by the use of the below hints file.
-
- Worse News: SETUID SCRIPT EMULATION DOES NOT CHECK TO SEE IF THESE
- SETXXID() FUNCTIONS SUCCEED OR FAIL. The effects of this bug are left
- as an exercise for the reader. Suffice it to say that it's a security
- hole that should be plugged immediately, if not sooner.
-
- Here is my "hints/aix_rs.sh" hints file, which should be sufficient to
- eliminate the security part of this problem.
-
- ----------------------------------------------------------------
- d_setregid='undef'
- d_setreuid='undef'
- d_setrgid='undef'
- d_setruid='undef'
- d_setegid='undef'
- d_seteuid='undef'
- eval_cflags='optimize=""'
- toke_cflags='optimize=""'
- teval_cflags='optimize=""'
- ttoke_cflags='optimize=""'
- ccflags="$ccflags -D_NO_PROTO"
- cppstdin='/lib/cpp -D_AIX -D_IBMR2 -U__STR__'
- cppminus=''
- ----------------------------------------------------------------
- --
- Chip Salzenberg at Teltronics/TCT <chip@tct.com>, <73717.366@compuserve.com>
- "Informix 4GL is not a 4G, and it's barely an L." -- John Tombs
-
-